home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
wild
/
support
/
table_cosq2sen.bas
< prev
next >
Wrap
BASIC Source File
|
1999-05-25
|
162b
|
14 lines
OPEN "WildPJ:Wild/Tables/CosQ2Sen.table" FOR OUTPUT AS 1
FOR i=0 TO 255
cosq=(i/255)
senn=(1-cosq)^.5
PRINT#1,CHR$(INT(senn*255));
NEXT i
CLOSE 1